/***************************************************************************
 *  Filename: gpsdata.h
 *  Class: GPSData
 *  
 *  Copyright 2012  Jacco van der Spek
 *  <jaccovdspek@gmail.com>
 *
 *  Copyright 2012  Mario Henrique Voorsluys
 *  <forcaeluz@gmail.com>
 *  
 ****************************************************************************/

/*
 *
 * This file is part of %ProjectName%.
 *
 *    %ProjectName% is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 3 of the License, or
 *    (at your option) any later version.
 *
 *    %ProjectName% is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with %ProjectName%.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef GPSDATA_H
#define GPSDATA_H

#include <QtCore>

class GPSData
{
public:
    explicit GPSData();
    void setLatitude(float lat);
    void setLongitude(float lng);
    void setVelocity(float vel);
    void setNS(QChar ns);
    void setEW(QChar ew);
    void setStatus(QChar status);
    void setBearing(float bear);

    float getLatitude();
    float getLongitude();
    float getVelocity();
    float getBearing();
    QChar getStatus();
    GPSData getTargetCoordinates(distancex, distancey);
private:
    float vel;
    float lat;
    float lng;
    float alt;
    float bear;
    QChar ns;
    QChar ew;
    QChar status;
};

#endif // GPSDATA_H
